package top.qitun.bizz.catalog.product.service.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.service.BaseServiceImpl;
import top.qitun.bizz.catalog.product.dao.ProductDao;
import top.qitun.bizz.catalog.product.entity.ProductBO;
import top.qitun.bizz.catalog.product.service.ProductService;

/**
 * 
 * <br>
 * <b>功能：</b>ProductService<br>
 */
@Service("productService")
public class  ProductServiceImpl  extends BaseServiceImpl implements ProductService {
  Logger logger = LoggerFactory.getLogger(getClass());
	

	@Autowired
    private ProductDao dao;

		
	public ProductDao getDao() {
		return dao;
	}


	@Override
	public List<ProductBO> queryProductListInCatalog(Integer catalogId) {
		return dao.queryProductListInCatalog(catalogId);
	}


	@Override
	public List<ProductBO> queryProductListByShopId(Integer shopId) {
		return dao.queryProductListByShopId(shopId);
	}

	

}
